﻿using Learn.Infraestrutura.Attr;
using Learn.Infraestrutura.Dto.Request;
using Learn.Infraestrutura.Dto.Request.Right;
using Learn.Infraestrutura.Dto.Response;
using Learn.Infraestrutura.EFCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace Learn.Service.Interface
{
    /// <summary>
    /// 权限模块
    /// </summary>
    [Provider_]
    public interface I_Right_Service
    {
        /// <summary>
        /// 获取用户菜单
        /// </summary>
        /// <param name="uid"></param>
        /// <returns></returns>
        Api_Result Get_User_Menus(string uid);

        /// <summary>
        /// 获取所有权限
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Get_Rights(Right_Request_Dto dto);
        /// <summary>
        /// 获取单个权限详情
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Get_Curr_RightDetails(Right_Request_Dto dto);
        /// <summary>
        /// 获取配置
        /// </summary>
        /// <returns></returns>
        Api_Result Get_Right_Config(Right_Request_Dto dto);

        

    }
}
